import { defineStore } from 'pinia'
import {ref} from 'vue'
export const useCounterStore = defineStore('my', () => {
    let mydata=ref({
      username:localStorage.getItem('username'),
      userphone:'18611676611',
      userimg:'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg'
    })
    

  return { mydata }
},
{
    persist: true,
  },
)